package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通知公告对象 k_notice
 *
 * @author kanglou
 * @date 2023-06-07
 */
@ApiModel("通知公告对象 k_notice")
public class KNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /** 首页图片 */
    @Excel(name = "首页图片")
    @ApiModelProperty("首页图片")
    private String picture;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String content;

    /** 是否广播0否1是 */
    @ApiModelProperty("是否广播0否1是")
    private Integer isGb;
    /** 是否广播0否1是 */
    @Excel(name = "是否广播")
    @ApiModelProperty("是否广播0否1是")
    private String isGbStr;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty("积分")
    private Integer integral;

    /** 主键 */
    private String id;

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setIsGb(Integer isGb)
    {
        this.isGb = isGb;
    }

    public Integer getIsGb()
    {
        return isGb;
    }
    public void setIntegral(Integer integral)
    {
        this.integral = integral;
    }

    public Integer getIntegral()
    {
        return integral;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public String getIsGbStr() {
        return isGbStr;
    }

    public void setIsGbStr(String isGbStr) {
        this.isGbStr = isGbStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("title", getTitle())
            .append("picture", getPicture())
            .append("content", getContent())
            .append("isGb", getIsGb())
            .append("integral", getIntegral())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isGbStr", getIsGbStr())
            .toString();
    }
}
